package cn.eonshine.cuba.inf.modular.basic.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * Mapping（对照表）
 * </p>
 *
 * @author Alan
 * @since 2018-08-09
 */
@TableName("inf_mapping")
@Data
@EqualsAndHashCode(callSuper=false)
public class Mapping extends Model<Mapping> {

    private static final long serialVersionUID = 1L;

    /**
     * primary key
     */
    private String id;
    private String dmz1;
    private String dmz2;
    private String dmz3;
    private String dmz4;
    private String dmz5;
    private String dmz6;
    private String dmz7;
    /**
     * LSMS system primary key
     */
    @TableField("lsms_id")
    private String lsmsId;
    /**
     * Other system basic table data primary key.
             Other system include: SIOC, FACO, INFOPROD, GPS etc.
     */
    private String dmz8;
    /**
     * DATA TYPE, include：station，depot，tanker etc.
     */
    @TableField("data_type")
    private String dataType;
    /**
     * name
     */
    private String name;
    /**
     * REMARK 备注
     */
    private String remark;
    /**
     * creator
                         创建者
     */
    @TableField("CREATE_BY")
    private String createBy;
    /**
     * Create time
                         创建时间
     */
    @TableField("CREATE_DATE")
    private Date createDate;
    /**
     * updater
                         更新者
     */
    @TableField("UPDATE_BY")
    private String updateBy;
    /**
     * Update time
                         更新时间
     */
    @TableField("UPDATE_DATE")
    private Date updateDate;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
